﻿using System.IO;
using System.Runtime.Serialization.Formatters.Binary;

namespace ESGConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            //ESGContextTests p = new ESGContextTests();

            //p.WhenOneGroup_AllFiltered_RankIsMinusOne();
            //using (var context = new ESGContext())
            //{
            //    ESGData data = LoadData(@"..\..\..\..\Sustainalytics.ESGRatings.BusinessLogic.Computing.Tests\FailedTests\x64\2014_12_29_esgData_0.dat");
            //    data.Initialize(context);
            //    data.PushData();
            //    p.CPUvsGPU(8, data);
            //}
        }


        //static ESGData LoadData(string path)
        //{
           
        //        using (var fs = new FileStream(path, FileMode.Open))
        //        {
        //            BinaryFormatter serializer = new BinaryFormatter();
        //            return (ESGData)serializer.Deserialize(fs);
        //        }
            
        //}


    }
}
